package com.ktjy.ktmall.entity;

/**
 * 收货地址实体类
 * @version v1.0
 * @Author 郴州科泰
 * @Create 2024-07-29 - 17:46
 */
public class AddressParams {

    private int id;
    private int userId;  // 用户id
    private String userName; // 收货人
    private String telNumber; // 联系方式
    private String postalCode;  //邮政编码
    private String fullLocation; // 省市区(格式为空格隔开)
    private String nationalCode;  //国家码
    private String country;  // 国家
    private String province;  // 省
    private String city;   // 市
    private String district;  // 区
    private String detail;  // 详细地址
    private int enabled;   // 删除标识字段(0-未删除 1-已删除)
    private int isDefault;   // 默认地址 0：否；1：是
    private String createTime;
    private String updateTime;

    public AddressParams(int id,int userId, String userName, String telNumber, String fullLocation, String province, String city, String district, String detail, int isDefault) {
        this.id = id;
        this.userId = userId;
        this.userName = userName;
        this.telNumber = telNumber;
        this.fullLocation = fullLocation;
        this.province = province;
        this.city = city;
        this.district = district;
        this.detail = detail;
        this.isDefault = isDefault;
    }

    public AddressParams() { }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTelNumber() {
        return telNumber;
    }

    public void setTelNumber(String telNumber) {
        this.telNumber = telNumber;
    }

    public String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }

    public String getFullLocation() {
        return fullLocation;
    }

    public void setFullLocation(String fullLocation) {
        this.fullLocation = fullLocation;
    }

    public String getNationalCode() {
        return nationalCode;
    }

    public void setNationalCode(String nationalCode) {
        this.nationalCode = nationalCode;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public int getEnabled() {
        return enabled;
    }

    public void setEnabled(int enabled) {
        this.enabled = enabled;
    }

    public int getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(int isDefault) {
        this.isDefault = isDefault;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
